package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 巡检记录
 * @TableName dsm_ptr_record
 */
@TableName(value ="dsm_ptr_record")
@Data
public class DsmPtrRecordDO implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 巡检对象
     */
    @TableField(value = "entity")
    private String entity;

    /**
     * 巡检时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 报告类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 巡查人
     */
    @TableField(value = "record_person")
    private String recordPerson;

    /**
     * 负责人
     */
    @TableField(value = "principal")
    private String principal;

    /**
     * 库水位(m)
     */
    @TableField(value = "re_rz")
    private String reRz;

    /**
     * 天气
     */
    @TableField(value = "weather")
    private String weather;

    /**
     * 巡检类型
     */
    @TableField(value = "record_type")
    private String recordType;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}